home *** CD-ROM | disk | FTP | other *** search
NeXT TypedStream Data | 1995-03-22 | 9.6 KB | 153 lines |
- typedstream
- IBObjectData
- Object
- CustomObject
- WWTCLInterp
- WWColorWell
- NXColorWell
- Control
- Responder
- [13@]
- WWThumbWheel
- PAThumbWheel
- WWThumbWheelCell
- PAThumbWheelCell
- ActionCell
- Helvetica
- (set __text__(spacing) %f; synchWithScene
- __text__(spacing)
- WWTextField
- TextField
- WWTextFieldCell
- TextFieldCell
- text(spacing)
- abcdefghijklmnopqrstuvwxyz
- Cset __text__(fontName) "%F"; set __text__(fontSize) %S; updateView
- __text__(fontName)
- .set __text__(spacingFactor) %f; synchWithScene
- __text__(spacingFactor)
- text(spacingFactor)
- *set __text__(tabLength) %f; synchWithScene
- __text__(tabLength)
- text(tabLength)
- +set __text__(timeFactor) %f; synchWithScene
- __text__(timeFactor)
- text(timeFactor)
- -set __text__(sampleOffset) %f; synchWithScene
- __text__(sampleOffset)
- text(sampleOffset)
- colorWW3DShape
- set startTimeInteger %d;
- colorIt $startTimeInteger $startTimeDecimal $endTimeInteger $endTimeDecimal $selectedColor $unselectedColor
- startTimeInteger
- start integer
- set endTimeInteger %d;
- colorIt $startTimeInteger $startTimeDecimal $endTimeInteger $endTimeDecimal $selectedColor $unselectedColor
- endTimeInteger
- end integer
- set selectedColor {%f %f %f};
- colorIt $startTimeInteger $startTimeDecimal $endTimeInteger $endTimeDecimal $selectedColor $unselectedColor
- selectedColor
- selected
- set startTimeDecimal %d;
- colorIt $startTimeInteger $startTimeDecimal $endTimeInteger $endTimeDecimal $selectedColor $unselectedColor
- startTimeDecimal
- start decimal
- set endTimeDecimal %d;
- colorIt $startTimeInteger $startTimeDecimal $endTimeInteger $endTimeDecimal $selectedColor $unselectedColor
- endTimeDecimal
- end decimal
- unselected
- set unselectedColor {%f %f %f};
- colorIt $startTimeInteger $startTimeDecimal $endTimeInteger $endTimeDecimal $selectedColor $unselectedColor
- unselectedColor
- WindowTemplate
- iiii***@s@
- Window
- ClipView
- ScrollView
- Scroller
- _doScroller:
- @@@ffs
- NXCursor
- NXImage
- NXibeam
- ciifffcfffs
- [3956c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
- \margl40
- \margr40
- \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 proc colorIt \{\{startTimeInteger 0\} \{startTimeDecimal 0\} \{endTimeInteger 0\} \{endTimeDecimal 1\} \{selectedColor \{1 0 0\}\} \{unselectedColor \{1 1 1\}\}\} \{ global __text__;\
- set memberList [array names __text__];\
- #puts "memberList \\"$memberList\\""\
- # first we want a list of all the colorTime* indices, so we have the whole thing\
- # so we need to grovel over the list, checking each to see if it matches the pattern\
- # if it does, add it to the colorTimeList\
- set howMany [llength $memberList]\
- for \{set i 0\} \{$i < $howMany\} \{incr i\} \\\
- \{ if \{[regexp colorTime* [lindex $memberList $i]]\} \\\
- \{lappend colorTimeList [lindex $memberList $i]\} \\\
- \{\} \
- \}\
- #puts "colorTimeList \\"$colorTimeList\\""\
- # looking for things "between" colorTime$\{startTime\} and colorTime$\{endTime\}\
- set pattern "colorTime(\\[$\{startTimeInteger\}-$\{endTimeInteger\}\\])+(\\\\.)+(\\[$\{startTimeDecimal\}-$\{endTimeDecimal\}\\])"\
- #puts "using pattern $pattern"\
- set howMany [llength $colorTimeList]\
- set selectedList ""\
- set unselectedList ""\
- for \{set i 0\} \{$i < $howMany\} \{incr i\} \\\
- \{ if \{[regexp $pattern [lindex $colorTimeList $i]]\} \\\
- \{lappend selectedList [lindex $colorTimeList $i]\} \\\
- \{lappend unselectedList [lindex $colorTimeList $i]\} \
- \}\
- #puts "selectedList is \\"$selectedList\\"";\
- #puts "unselectedList is \\"$unselectedList\\"";\
- set howMany [llength $selectedList]\
- for \{set i 0\} \{$i < $howMany\} \{incr i\} \\\
- \{ set __text__([lindex $selectedList $i]) $selectedColor; \
- \} \
- set howMany [llength $unselectedList]\
- for \{set i 0\} \{$i < $howMany\} \{incr i\} \\\
- \{ set __text__([lindex $unselectedList $i]) $unselectedColor; \
- \} \
- proc surfaceIt \{\{startTimeInteger 0\} \{startTimeDecimal 0\} \{endTimeInteger 0\} \{endTimeDecimal 1\} \{selectedSurface constant\} \{unselectedSurface WWTranslucentPlastic\}\} \{ global __text__;\
- set memberList [array names __text__];\
- #puts "memberList \\"$memberList\\""\
- # first we want a list of all the surfaceTime* indices, so we have the whole thing\
- # so we need to grovel over the list, checking each to see if it matches the pattern\
- # if it does, add it to the surfaceTimeList\
- set howMany [llength $memberList]\
- for \{set i 0\} \{$i < $howMany\} \{incr i\} \\\
- \{ if \{[regexp colorSurface* [lindex $memberList $i]]\} \\\
- \{lappend colorSurfaceList [lindex $memberList $i]\} \\\
- \{\} \
- \}\
- #puts "colorSurfaceList \\"$colorSurfaceList\\""\
- # looking for things "between" colorSurface$\{startTime\} and colorSurface$\{endTime\}\
- set pattern "colorSurface(\\[$\{startTimeInteger\}-$\{endTimeInteger\}\\])+(\\\\.)+(\\[$\{startTimeDecimal\}-$\{endTimeDecimal\}\\])"\
- #puts "using pattern $pattern"\
- set howMany [llength $colorSurfaceList]\
- set selectedList ""\
- set unselectedList ""\
- for \{set i 0\} \{$i < $howMany\} \{incr i\} \\\
- \{ if \{[regexp $pattern [lindex $colorSurfaceList $i]]\} \\\
- \{lappend selectedList [lindex $colorSurfaceList $i]\} \\\
- \{lappend unselectedList [lindex $colorSurfaceList $i]\} \
- \}\
- #puts "selectedList is \\"$selectedList\\"";\
- #puts "unselectedList is \\"$unselectedList\\"";\
- set howMany [llength $selectedList]\
- for \{set i 0\} \{$i < $howMany\} \{incr i\} \\\
- \{ set __text__([lindex $selectedList $i]) $selectedSurface; \
- \} \
- set howMany [llength $unselectedList]\
- for \{set i 0\} \{$i < $howMany\} \{incr i\} \\\
- \{ set __text__([lindex $unselectedList $i]) $unselectedSurface; \
- \} \
- Panel
- File's Owner
- IBOutletConnector
- IBConnector
- controlPanel
- initializationText
-